package com.ce.service.impl;

import com.ce.entity.Warehouse;
import com.ce.mapper.StorageMapper;
import com.ce.mapper.WarehouseMapper;
import com.ce.service.WarehouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 仓库表
 服务实现类
 * </p>
 *
 * @author jyt
 * @since 2022-03-21
 */
@Service
public class WarehouseServiceImpl extends ServiceImpl<WarehouseMapper, Warehouse> implements WarehouseService {
    /**
     * 获取仓库列表
     */
    @Resource
    private WarehouseMapper mapper;

    @Override
    public List<Warehouse> getList() {
        return mapper.selectList(null);
    }
}
